package com.itheima.inter3;

public interface Inter {

    default void sing() {
        gaoxing();
        System.out.println("唱");
    }

    default void dance() {
        gaoxing();
        System.out.println("跳");
    }
//jdk9以后
   private  void gaoxing() {
        System.out.println("今天很高兴");
    }


    public static void  rap(){
       hai();
        System.out.println("rap");
    }
    public static void  basketball(){
        hai();
        System.out.println("篮球");
    }

    private static void hai(){
        System.out.println("带着小姐姐去嗨");
    }
}
